package com.googlecode.gwtCorsForIe8.client;

import com.google.gwt.http.client.RequestBuilder;
import com.google.gwt.user.client.rpc.RpcRequestBuilder;

/**
 * Original from
 * http://experienceswithgwt.blogspot.com/2010/04/gwt-and-cross-site
 * -requests_28.html
 * 
 * @author Sebastian
 */
public class IECrossSiteRpcRequestBuilder extends RpcRequestBuilder {
	
	public IECrossSiteRpcRequestBuilder() {
	}

	protected RequestBuilder doCreate(java.lang.String serviceEntryPoint) {
		return new IECrossSiteRequestBuilder(RequestBuilder.POST,
				serviceEntryPoint);
	}

//	/**
//	 * Nothing to do. Cannot set custom headers in XDomainRequest
//	 */
//	protected void doFinish(RequestBuilder rb) {
//	}
}
